# -*- coding: utf-8 -*-

from django.conf.urls import patterns, url

from news import views

urlpatterns = patterns('',
   # 每日新闻统计
   url(
     regex=r'^api/summary$', 
     view=views.DailySummaryApiView.as_view(), 
     name='news_summary_api'
     ),
   # 聚类信息
   url(
     regex=r'^api/clusters$', 
     view=views.NewsClusterApiView.as_view(), 
     name='news_cluster_api'
     ),
   # 热度股票
   url(
     regex=r'^api/hot_stocks$', 
     view=views.MostReportedStockApiView.as_view(), 
     name='hot_stocks_api'
     ),
)
